<div class="am-u-sm-12 widget main-w" >
	{if $notPopup}
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('index')}">异地调度管理</a></li>
		<li class="am-active">车辆管理</li>
	</ol>
	{/if}
	<div class="am-u-sm-12 cl-p">
		<form class="am-form-inline tpl-form-border-form" action="" method="get">
			<div class="am-u-sm-12 cl-p" >
				
				<div class="am-form-group am-u-sm-2">
					<input type="text" class="am-form-field" name="car_type_name" placeholder="请输入车型" value="{$Think.get.car_type_name}">
				</div>
				<div class="am-form-group am-u-sm-2">
					<input type="text" class="am-form-field" name="number" placeholder="请输入车牌号" value="{$Think.get.number}">
				</div>
				<div class="am-form-group am-u-sm-2">
					<input type="text" class="am-form-field" name="company_name" placeholder="请输入公司名" value="{$Think.get.company_name}">
				</div>
				<div class="am-form-group am-u-sm-2">
					<input type="text" class="am-form-field" name="rent_company" placeholder="请输入租赁公司" value="{$Think.get.rent_company}">
				</div>
				<div class="am-u-sm-4">
					<button type="submit" class="am-btn am-btn-sm am-btn-primary am-radius">查询<i class="am-icon-search"></i></button> 
					<button type="button" class="am-btn am-btn-sm am-btn-primary am-radius" id="more">查看更多</button> 
				</div>
			</div>
			<div class="am-u-sm-12 cl-p " id="showmore" style="display: none;margin-top: 5px;">
				<div class="am-u-sm-3">
					<div class="am-u-sm-12 cl-p">
						<input type="text" class="am-form-field" name="entrust_use" placeholder="请输入委托公司" value="{$Think.get.number}">
						
					</div>
				</div>
				
				<div class="am-form-group am-u-sm-3">
						<select class="filter_type" data-am-selected="{btnWidth:'100%', btnSize: 'sm'}" name="filter_type" style="height: 33px;" value="{$Think.get.filter_type}">
							<option {$Think.get.filter_type?'':selected} value="0">车辆筛选-全部</option>
							<option {$Think.get.filter_type==1?selected:""} value="1">公务车辆</option>
							<option {$Think.get.filter_type==2?selected:""} value="2">自营车辆</option>
							<option {$Think.get.filter_type==3?selected:""} value="3">租赁车辆</option>
							<option {$Think.get.filter_type==4?selected:""} value="4">加盟车辆</option>
						</select>
				</div>
				<div class="am-form-group am-u-sm-6">
					
					
				</div>
			</div>
		</form>
	</div>
	<div style="padding: 10px;" class="am-u-sm-12">
		
			<div class="am-btn-group am-u-sm-12 am-btn-group-xs cl-p">
				<a href="{:url('/admin/car/add')}?remote=1" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 新增</a>
				<!--<button type="button" class="am-btn am-btn-default delete-multiple" data-method='deleteMultiple'><span class="am-icon-trash-o"></span> 删除</button>-->
				<!--<a href="{:url('index')}?filter=delete" class="am-btn am-btn-default"> 查看已删除车辆</a>-->
				<!--<button type="button" class="am-btn am-btn-default am-fr" style="float: right;">导出数据</button>-->
			</div>
		
		
		
		<table  class="layui-hide" id="car" lay-filter="test"></table>
		<!--<script type="text/html" id="titleTpl">
		  {{#  if(d.id < 100){ }}
		    <a href="/detail/{{d.id}}" class="layui-table-link">{{d.title}}</a>
		  {{#  } else { }}
		    {{d.title}}(普通用户)
		  {{#  } }}
		</script>-->
		<script type="text/html" id="operation">
			 {{#  if(d.state ==1){ }}
			 <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="forbidden">禁用</a>
			 {{#  } else { }}
			 <a class="layui-btn layui-btn-xs" lay-event="startusing">启用</a>
			  {{#  } }}
			<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
			<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
		</script>
		<script type="text/html" id="state">
		  <!-- 这里的 checked 的状态只是演示 -->
		  <!--<div>{{d.state}}</div>-->
		  <input type="checkbox" name="sex" value="{{d.state}}" lay-skin="switch" lay-filter="state" lay-text="启用|禁用" {{ d.state == 1 ? 'checked' : '' }} >
		</script>
		<div class="am-u-lg-12 am-cf">
			
			<div class="am-fr">
				<ul class="pagination"></ul>
			</div>
		</div>
	</div>

</div>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key={:config('base.mapkey')}&plugin=AMap.Driving"></script>
<script src="//webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>